import request from "@/utils/request";

// 导入
export function ImportData(data, activityId) {
  return request({
    url: `/api/cms/CmsAwardUser/importData?activityId=${activityId}`,
    method: "post",
    data,
  });
}
// 导入预览
export function ImportPreview(data) {
  return request({
    url: "/api/cms/CmsAwardUser/importPreview",
    method: "get",
    data,
  });
}
// 模板下载
export function TemplateDownload() {
  return request({
    url: "/api/cms/CmsAwardUser/templateDownload",
    method: "get",
  });
}
